<?php

namespace Home\Model;
class AccountsModel extends BaseModel
{

    protected $pk = '';//主键
    protected $tableName = 'accounts';//指定操作数据表
    protected $_validate = [
        //自动验证
        ['name','require','请输入姓名详情'],
        ['province','require','请输入省详情'],
        ['city','require','请输入市详情'],
        ['county','require','请输入县详情'],
        ['particular','require','请输入街道详情'],
        ['postcode','require','请输入邮编详情'],
        ['phone','require','请输入手机号码详情'],
    ];




}